const recast = require('./build/Release/RecastCLI');

recast.loadFile('dungeon.obj');
//recast.loadContent('v -0.5 0 0.5@v -0.5 0 -0.5@...f 27 26 25@f 28 26 27@');
//.loadArray(new Float32Array(position), new Int32Array(index))

recast.build(cellSize=0.3, cellHeight=0.2, agentHeight=2, agentRadius=0.6, agentMaxClimp=0.9, agentMaxSlope=45); // return string

recast.save("dungeonnavmesh.obj");